function setValue(){
	var pubDate = new Date();
	var month= pubDate.getMonth()+1;
	var datetime = pubDate.getFullYear()+"-"+month+"-"+pubDate.getDate();
	
	var author=$("#author").attr("value","建筑工程学院");
	var datetime=$("#datetime").attr("value",datetime);
	}
function check(){
	var title= $("#title").val();
	var content= editor.hasContents();
	
	if(!title||!content){
		alert("内容不能为空!");
		return false;
			}
}